package stx.com.dao;

import java.util.List;

import stx.com.entity.TDiary;
import stx.com.entity.TUser;

public interface DiaryDao {
	/*
	 * 新增日志
	 */
	public boolean addDiary(TDiary diary);
	
	
	/*
	 * 查看日志
	 */
	public List<TDiary> lookDiary(TDiary diary);  
	
	/*
	 * 修改日志
	 */
	public boolean updateDiary(TDiary diary);
	
	/*
	 * 删除日志
	 */
	public boolean deleteDiary(TDiary diary);
	
	
	/*
	 * 按编号查询日志
	 */
	public TDiary look(TDiary diary);
	
}
